          <div class="hero-unit">
            <input type="hidden" value="<?=$base?>"  id="base" />
            <div id="search_result">
            <h3>课程列表</h3>
                <table class="table">
                    <thead>
                        <tr>
                            <th>
                                课程名
                            </th>
                            <th>
                                学分
                            </th>
                            <th>
                                学时
                            </th>
                            <th>
                                选修/必修
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php if($pageInfo):?>
                        <?php foreach ($pageInfo['content'] as $key => $value):?>
                                    <tr class='info'>
                                        <td><input type="text" name="name" style="width:64px"  size="5" value="<?=$value->name?>" readonly/></td>
                                        <td><input type="text" name="credit" style="width:64px"  size="5" value="<?=$value->credit?>" readonly/></td>
                                        <td><input type="text" name="time" style="width:64px"  size="5" value="<?=$value->time?>" readonly/></td>
                                    <?php if($value->style=='1'):?>
                                        <td>必修</td>
                                    <?php else:?>
                                        <td>选修</td>
                                    <?php endif;?>
                                    <td><a class="info_change" title="<?=$value->id?>" href="javascript:;">修改</a>/<a onclick="return delete_course(this);" href="<?=$base?>admin/course/course_delete/<?=$value->id?>">删除</a></td>
                                </tr>
                        <?php endforeach;?>
                    <?php else:?>
                        <tr>没有课程信息</tr>
                    <?php endif;?>
                    </tbody>
                    </table>
                    <?php if($pageInfo):?>
                    <div class="pagination">
                            <ul>
                                <li>
                                    <a class="pageInfo" onclick="return pageInfo(this);" href="<?=$base?>admin/course/course_list_page/<?=$pageInfo['first_page']?>-<?=$pageInfo['each_page']?>.html">首页</a>
                                </li>
                                <?php if($pageInfo['pre_page']!=''):?>
                                <li>
                                    <a class="pageInfo" onclick="return pageInfo(this);" href="<?=$base?>admin/course/course_list_page/<?=$pageInfo['pre_page']?>-<?=$pageInfo['each_page']?>.html">上一页</a>
                                </li>
                                <?php endif;?>
                                <li><a class="current_page" onclick="return pageInfo(this);" href="<?=$base?>admin/course/course_list_page/<?=$pageInfo['current_page']?>-<?=$pageInfo['each_page']?>.html"><?=$pageInfo['current_page']?></a></li>
                                <?php if($pageInfo['next_page']!=''):?>
                                <li>
                                    <a class="pageInfo" onclick="return pageInfo(this);" href="<?=$base?>admin/course/course_list_page/<?=$pageInfo['next_page']?>-<?=$pageInfo['each_page']?>.html">下一页</a>
                                </li>
                                <?php endif;?>
                                <li>
                                    <a class="pageInfo" onclick="return pageInfo(this);" href="<?=$base?>admin/course/course_list_page/<?=$pageInfo['end_page']?>-<?=$pageInfo['each_page']?>.html">尾页</a>
                                </li>
                            </ul>
                    </div>
                <?php endif;?>
            </div>
          </div>